﻿
@{
    ViewBag.Title = "AddDepartment";
    Layout = "~/Views/Shared/_ryIndex.cshtml";
}

@section styles
{
    @Styles.Render("~/bundles/BootstrapTableCss")
}

@section scripts
{
    @Scripts.Render("~/bundles/jqueryValidate", "~/bundles/treegridjs", "~/bundles/jqueryexportjs")
    <script src="~/Content/static/ruoyi/system/dept/add.js"></script>
}
<body>
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-dept-add">
            <input id="treeId" name="parentId" type="hidden" />
            <div class="form-group">
                <label class="col-sm-3 control-label ">上级部门：</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" onclick="selectDeptTree()" id="treeName" readonly="true" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">部门名称：</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" name="DepName" id="DepName">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">等级：</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" name="Level" id="Level">
                </div>
            </div>
            @*<div class="form-group">
                <label class="col-sm-3 control-label">负责人：</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" name="leader">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">联系电话：</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" name="phone">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">邮箱：</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" name="email">
                </div>
            </div>*@
            <div class="form-group">
                <label class="col-sm-3 control-label">部门状态：</label>
                <div class="col-sm-8">
                    <div class="radio radio-info radio-inline">
                        <input type="radio" id="10" name="IsLeaf" value="false" checked="checked">
                        <label for="10">正常</label>
                    </div>
                    <div class="radio radio-danger radio-inline">
                        <input type="radio" id="11" name="IsLeaf" value="true">
                        <label for="11">停用</label>
                    </div>
                </div>
            </div>

            <div class="form-group">
                <div class="form-control-static col-sm-offset-9">
                    <button type="submit" class="btn btn-primary">提交</button>
                    <button th:onclick="'javascript:layer_close()'" class="btn btn-danger" type="button">关闭</button>
                </div>
            </div>
        </form>
    </div>
</body>